package cn.zebra.dev.mall.module.product.dto;

import cn.zebra.dev.mall.module.group.dto.ProductGroupDTO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
@ToString
public class ProductSearchDTO {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value ="商品图片地址")
    private String productImage;

    @ApiModelProperty(value ="单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "卖出的数量")
    private Long sellNum;

}
